﻿using MediatR;
using RedDragon.Common.Dtos;
using T.Common.Domain.Common;

namespace RedDragon.ERP.API.Application.Commands.MaterialManagements
{
    /// <summary>
    /// 物料管理显示Command
    /// </summary>
    public class SearchMaterialManagementCommand:IRequest<Result<List<MaterialDto>>>
    {
        /// <summary>
        /// 物料服务ID
        /// </summary>
        public int? MaterialsServicesId { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string? MaterialCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? MaterialName { get; set; }
        /// <summary>
        /// 物料类别ID
        /// </summary>
        public int? MaterialCategoryId { get; set; }
        /// <summary>
        /// 状态 1-有效；2-无效
        /// </summary>
        public int? IsStatus { get; set; }
    }
}
